package com.czr.dao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.czr.dao.entity.CzrColumn;
import com.czr.dao.entity.CzrNews;
import com.czr.dao.entity.CzrPost;
import com.czr.dto.ColumnParam;
import com.czr.dto.NewsParam;
import com.czr.dto.Search;
import com.czr.vo.Result;

import java.util.Map;

/**
 * <p>
 * 栏目表 服务类
 * </p>
 *
 */
public interface CzrColumnService extends IService<CzrColumn> {

    Result<Object> dictionary() throws Exception ;
    Result<Object> updateColumn(String param) throws Exception ;

    Result<Object> statistics(Integer columuId) throws Exception ;

    Result<Object> postRanking(Integer columuId) throws Exception ;

    Result<Object> latestComments(Integer columuId) throws Exception ;

    Result<Object> list(ColumnParam search) throws Exception ;
}
